package com.client.service.Impl;

import com.client.pojo.User;
import com.client.service.UserService;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;


public class UserServiceFallback implements UserService {
    @Override
    public ResponseEntity<User> register(User user) {
        return null;
    }

    @Override
    public ResponseEntity<User> login(String username, String password) {
        return null;
    }

    @Override
    public ResponseEntity<User> getUserById(String userId) {
        return null;
    }

    @Override
    public ResponseEntity<User> updateUser(User user) {
        return null;
    }

    @Override
    public ResponseEntity<Void> deleteUser(String userId) {
        return null;
    }

    @Override
    public ResponseEntity<List<User>> listAllUsers() {
        System.out.println(" 限流啦");
        return null;
    }
}
